package com.bw;

import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONException;

public class JsonUtils {
    public static boolean json(String log) {
        try {
            JSON.parse(log);
            return true;
        }catch (JSONException e){
            return false;
        }
    }
}
